import request from '@/util/request'
import globalConfig from '@/config'

// 获取提现记录
export function getMoneybagRecord(query) {
	return request({
	    url: '/money/v1/txRecord/',
	    method: 'GET',
      params: query
	})
}

// 获取已提现金额
export function getMoneybagCount(query) {
	return request({
	    url: '/money/v1/txCount/',
	    method: 'GET',
      params: query
	})
}

// 提现操作
export function moneybagWithdrawal(query) {
	return request({
	    url: '/user/v1/myBalance/',
	    method: 'POST',
      data: query
	})
}

// 获取余额  记录
export function getMoneybagBalance(query) {
	return request({
	    url: '/user/v1/myBalance/',
      method: 'GET',
      params: query
	})
}
